package com.asset.model.entity;

import java.util.ArrayList;
import java.util.List;

/**
 * t_company
 */

public class Company {

  private Integer id;
  private String companyCode;
  private String name;
  private Integer parentId;
  private Integer companyType;



  private List<Company> children = new ArrayList<>();



  public List<Company> getChildren() {
    return children;
  }

  public void setChildren(List<Company> children) {
    this.children = children;
  }

  public Integer getId() {
    return id;
  }

  public void setId(Integer id) {
    this.id = id;
  }


  public String getCompanyCode() {
    return companyCode;
  }

  public void setCompanyCode(String companyCode) {
    this.companyCode = companyCode;
  }


  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name;
  }


  public Integer getParentId() {
    return parentId;
  }

  public void setParentId(Integer parentId) {
    this.parentId = parentId;
  }


  public Integer getCompanyType() {
    return companyType;
  }

  public void setCompanyType(Integer companyType) {
    this.companyType = companyType;
  }


}
